pointer-events: none 是点击dom元素事件触发产生无效状态

标签:2023-06-25 10:57:58

pointer-events: none; 是看得到却摸不着,点击不到,点击会穿透触发到下层元素的css属性。

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div style="pointer-events: none;"></div>
</body>
</html>
原文出处:http://www.dongblog.com/notes/12.html
来源:博客网 转载请注明出处!

活跃用户

(?????)
Ta还没有签名
winner-永不止步
Ta还没有签名
Ta还没有签名
Ta还没有签名

友情链接


Warning: Smarty error: unable to read resource: "../../../templates/default/./common/foot/footer_index.htm" in /usr/home/hyu3925200001/htdocs/common/smarty/Smarty.class.php on line 1093

Warning: Smarty error: unable to read resource: "../../../templates/default/./common/foot/footer_index.htm" in /usr/home/hyu3925200001/htdocs/common/smarty/Smarty.class.php on line 1093